package com.brainhealth.customer.service;

import com.brainhealth.customer.domain.vo.FirstCategoryPropertyVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 仓库服务
 * @author wll
 */
public interface IWarehouseService {

    /**
     * 我的货仓
     * @param request
     * @return
     */
    List<FirstCategoryPropertyVO> getPropertyList(HttpServletRequest request);

    /**
     * 我的装饰
     * @param request
     * @return
     */
    List<FirstCategoryPropertyVO> getUsedPropertyList(HttpServletRequest request);

    /**
     * 装饰房间
     * @param request
     * @param propertyId
     * @return
     */
    Integer useProperty(HttpServletRequest request,String propertyId);

    /**
     * 是否装饰过房间
     */
    Integer isUseProperty(HttpServletRequest request);

    /**
     * 重新布置
     */
    Integer resetProperty(HttpServletRequest request);
}
